projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f81b812
)
* src/image.c (cr_create_cr_surface_from_image): Add const to variable `key'.
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Tue, 4 Jun 2019 07:15:35 +0000
(16:15 +0900)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Tue, 4 Jun 2019 07:15:35 +0000
(16:15 +0900)
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index a2e4aa98bf9ab440d9fdb569f5dc574ca40ac222..9b0080130bc328984f9e38bdd13d6b692fef91a8 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-239,7
+239,7
@@
cr_create_cr_surface_from_image (struct frame *f, struct image *img)
: CAIRO_FORMAT_RGB24),
pimg->width, pimg->height,
pimg->bytes_per_line);
- static cairo_user_data_key_t key;
+ static c
onst c
airo_user_data_key_t key;
cairo_surface_set_user_data (surface, &key, pimg->data, xfree);
unblock_input ();
pimg->data = NULL;